package com.gxa.accommodation.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccommodationRoomTypeVO implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Integer serialNumber;
    private String roomTypeName;
    private BigDecimal roomPrice;
    private Double roomArea;
    private Integer seatingCapacity;
    private Byte currency;
    private Byte roomStatus;
    private String roomImg;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

}
